package com.jmz.apt.api.dao;

import com.jmz.apt.api.Provider.AdminUserRoleProvider;
import com.jmz.apt.api.entity.dbEntity.JmzAdminUserRoles;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;


/**
 * Created by fanglexue on 2019/11/5.
 */
@Mapper
public interface AdminUserRoleDao {

    @SelectProvider(type = AdminUserRoleProvider.class, method = "saveAdminUserRole")
    public Integer saveAdminUserRole(JmzAdminUserRoles jmzAdminUserRoles);

    @SelectProvider(type = AdminUserRoleProvider.class, method = "selectOne")
    public JmzAdminUserRoles findOne(JmzAdminUserRoles jmzAdminUserRoles);

    @SelectProvider(type = AdminUserRoleProvider.class, method = "delete")
    public Integer delete(JmzAdminUserRoles jmzAdminUserRoles);


}
